import request from '@/utils/request'
const api_name='/api/hosp/site'
const api_dict=`/admin/dict`
export default{
    //根据dictType获取其子一级所属name
    getProName(dictType){
        return request({
            url:`${api_name}/getProCity/${dictType}`,
            method:'get'
        })
    },
    //省市二级联动
    getCityByDictType(dictType){
        return request({
            url:`${api_dict}/getCityByDictType/${dictType}`,
            method:'get'
        })
    }
}